import request from "../utils/request.ts";

export async function insert(data: any){
    return request({
        url: "/accessory/insert",
        method: "post",
        data
    })
}

export async function deleteBatch(ids: any){
    return request({
        url: "/accessory/deleteBatch",
        method: "post",
        data: {ids:ids}
    })
}

export async function findList(carid:string){
    return request({
        url: "/accessory/findList",
        method: "get",
        params: {carid:carid}
    })
}
